package com.example.takeaway;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@Slf4j
@SpringBootApplication
@MapperScan("com.example.takeaway.mapper")
@ServletComponentScan
public class TakeAwayApplication {

    public static void main(String[] args) {

        SpringApplication.run(TakeAwayApplication.class, args);

        log.info("项目启动");
    }

}
